package com.da.springtest.condition.test3;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @author chenlida
 * @date 2020/6/22 15:36
 * @description
 */
@Configuration
@PropertySource(value = "classpath:application.properties")
public class EnvConfig {
    @Value("${env}")
    private String env;

    public void setEnv(String env) {
        this.env = env;
    }

    public String getEnv() {
        return env;
    }
}
